package com.study.design.pattern.pattern.structural.decorator;

/**
 * @Author: gongsl
 * @Date: 2025-03-09 15:48
 * @description: 具体构件-具体煎饼
 */
public class BatterCake extends AbsBatterCake {

    /**
     * 名称描述
     */
    @Override
    protected String getDesc() {
        return "煎饼";
    }

    /**
     * 价格，这里默认设置为8元
     */
    @Override
    protected int cost() {
        return 8;
    }
}
